package com.forekenow.Demo8.Exercise.E5;

public class Divide implements Computer{
    @Override
    public int computer(int n, int m) {
        if (m != 0) {
            return n / m;
        }
        System.out.println("分母不能为0");
        return 0;
}
}
